/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package session.TX;

import javax.ejb.Remote;
import entity.*;
import java.util.*; 

/**
 *
 * @author Chen Zhe
 */
@Remote
public interface DishManagerSBRemote {

    public void deleteFoodItem(java.lang.Long foodID, java.lang.Long outletId);

    public void addCuisine(java.lang.String cuisineName);

    public void deleteCuisine(java.lang.String name);

    public void lockFoodItem(java.lang.Long id);

    public java.util.HashSet<java.lang.String> getOutletWithDish(java.lang.String dishKeyword);

    public java.util.List<entity.FoodItem> getAllPromotionalDishes();

    public boolean editFoodItem(java.lang.Long id, java.lang.String dishName, java.lang.String description, java.lang.Double cost);

    public void addFoodItem(java.lang.Long outletId, java.lang.String dishName, java.lang.String description, java.lang.Double cost, java.lang.String type, String pathName);

    public java.util.List<entity.FoodItem> getOutletFoodMenu(java.lang.Long outletId);

    public boolean editFoodItem(entity.FoodItem item);

    public void unlockFoodItem(java.lang.Long dishId);

    public java.util.List<entity.FoodItem> getNonDeliItemForSale(java.lang.Long outletId);

    public java.util.List<Helper.Helper_FoodItemSearch> searchFoodItemHelperByName(java.lang.String name);

    public java.util.List<Helper.Helper_OutletFoodItem> getNonDeliItemHelperForSale(java.lang.Long outletId);

    public java.util.List<Helper.Helper_OutletFoodItem> getFestiveItemsHelper(java.lang.Long outletId);

}
